<?php
/*
+ ----------------------------------------------------------------------------------------------+
|     e107 website system  : http://e107.org.ru
|     Released under the terms and conditions of the GNU General Public License (http://gnu.org).
|
|     $Date: 2007/10/22 $
|     $Author: Alex ANP alex-anp@ya.ru $
+-----------------------------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
//
if ($pref['hs_image_on'] and check_class($pref['hs_image_class'])) {
$bb['name']		= 'eHighSlide';
$bb['onclick']		= '';
$bb['onclick_var']	= "[ehs][/ehs]";

$bb['icon']		= e_PLUGIN."eHighSlide/images/bb.png";
$bb['helptext']		= "Вставить изображение: [ehs]http://host.domain/image.jpg[/ehs] или [ehs=Описание:X,Y]http://host.domain/image.jpg[/ehs]"; /* Edit by Dr.Alex */
//$bb['function']		= 'mygallBBcode';
$bb['function']		= '';
$bb['function_var']     = '';

// append the bbcode to the default templates:

$BBCODE_TEMPLATE .= "{BB=eHighSlide}";
$BBCODE_TEMPLATE_NEWSPOST .= "{BB=eHighSlide}";
$BBCODE_TEMPLATE_ADMIN .= "{BB=eHighSlide}";
$BBCODE_TEMPLATE_CPAGE .= "{BB=eHighSlide}";

$eplug_bb[] = $bb;  // add to the global list - Very Important!
}

if ($pref['hs_iframe_on'] and check_class($pref['hs_iframe_class'])) {
$bb['name']		= 'eHighSlide-html';
$bb['onclick']		= '';
$bb['onclick_var']	= "[ehshtml][/ehshtml]";

$bb['icon']		= e_PLUGIN."eHighSlide/images/bb2.png";
$bb['helptext']		= "Вставить страницу: [ehshtml]http://host.domain/page.html[/ehshtml] или [ehshtml=http://host.domain/page.html]Текст[/ehshtml]"; /* Edit by Dr.Alex */
//$bb['function']		= 'mygallBBcode';
$bb['function']		= '';
$bb['function_var']     = '';

// append the bbcode to the default templates:

$BBCODE_TEMPLATE .= "{BB=eHighSlide-html}";
$BBCODE_TEMPLATE_NEWSPOST .= "{BB=eHighSlide-html}";
$BBCODE_TEMPLATE_ADMIN .= "{BB=eHighSlide-html}";
$BBCODE_TEMPLATE_CPAGE .= "{BB=eHighSlide-html}";

$eplug_bb[] = $bb;  // add to the global list - Very Important!
}

?>